﻿
using Iesi.Collections.Generic;
using Inovout.Models;
namespace Inovout.Security
{
    public partial class Permission : DataObject
    {
        private Privilege privilege;
        public virtual Privilege Privilege
        {
            get { return privilege; }
            set { privilege = value; }
        }
        public virtual IActor Actor
        {
            get;
            set;
        }
       // public virtual ISet<IActor> Actors { get; set; }
        //public virtual string ActorType { get; set; }
        //public virtual string ActorId { get; set; }
        public Permission()
        {
        }
        public Permission(Privilege privilege)
        {
            this.privilege = privilege;
        }
    }
}
